package com.bicon.bdata_service_search.es.service;

import com.bicon.bdata_service_search.es.entities.AccountInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * 描述:
 * service
 *
 * @author zhaoyu
 * @email zhaoyu@vv.cc
 * @create 2018-08-23 10:08
 */
public interface ESAccountInfoService {

//    AccountInfo queryAccountInfoById(String id);

    AccountInfo queryAccountInfoByName(String accountName);
    Page<AccountInfo> findAllPage(int pageNumber,int pageSize);
    Page<AccountInfo> findAll();
}